let mixin = {
  props: {},
  computed: {},
  data() {
    return {
      activeitem: {}
    };
  },
  watch: {
    "$store.state.editer.editeractived": {
      handler: function (n, o) {
        this.activeitem = n;
      },
      immediate: true
    }
  },
  create(){

    // this.activeitem = this.$store.state.editer.editeractived
    // console.log(this.activeitem);
  },
  mounted() {
  },
  methods: {
    change(e) {
      // this.$store.state.editer.editeractived.$forceUpdate();
      this.$store.state.editer.editeractived.update = false
      this.$nextTick(function () {
        this.$store.state.editer.editeractived.update = true
      })
    },
  }
}

export default mixin